
      <script type="text/javascript">
      $(function(){
      	var num=$('.ziyuan ul li').index();
      	for(var i=0;i<=num;i++){
      		if(i%2==0){
  				$('.ziyuan ul li').eq(i).css('background','#03ACB3');
  			}else{
      			$('.ziyuan ul li').eq(i).css('background','#856FD1');
      	}
      	}
      	$('.ziyuan ul li').mouseover(function(event) {
      		$(this).find('.div').show();
      	})
      	$('.ziyuan ul li').mouseout(function(event) {
      		$(this).find('.div').hide();
      	})


      })
      	
      </script>

      <div class="sidebar">
		<div class="list_right">
            <span></span>
            <h3>最新资讯</h3>
            <a class="list_a" href="http://localhost/hdcms/index.php?a=Index&c=Index&m=category&mid=1&cid=7">更多>></a>
        </div>
		<div class="ziyuan">
      	<ul>
      	<arclist  row='8' titlelen='16' flag='4'  cid='6,7,9' >
      		<li>
      			<a class="div" href="{$field.url}"></a>
      			<a class="img_r" href="{$field.url}">
      				<img src="{$field.thumb}" width="60" height="60" alt="">
      				<a class="img_ri" href="{$field.url}">
						{$field.title}
  					</a>
  				</a>
      		</li>
  		</arclist>
      	</ul>
      	</div>
        <div class="gadget">
          <div class="list_right">
            <span></span>
            <h3>最热文章</h3>
            <a class="list_a" href="http://localhost/hdcms/index.php?a=Index&c=Index&m=category&mid=1&cid=7">更多>></a>
       	 </div>
          <ul class="ex_menu">
		      <arclist  row='8' titlelen='16' flag='3' cid='6,7,8' >
            <li><a href="{$field.url}" title="">{$field.title}</a></li>
		      </arclist>
          </ul>
        </div>
      </div>